package com.chiv.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//熔断功能
@FeignClient(value = "ribbon-copy",fallback=PersonServiceFallback.class)
public interface PersonService {
    @GetMapping("/person/list")
    Object getList();
}
